<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: shanpengfei
  Date: 2019/2/28
  Time: 6:10 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="basePath" value="/gyp"></c:set>
<html>
<head>
    <title>民族工艺品展示平台</title>
    <link rel="stylesheet" href="${basePath}/css/reset.css">
    <link rel="stylesheet" href="${basePath}/css/base.css">

    <script type="text/javascript" src="https://cdn.staticfile.org/jquery/2.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="https://cdn.staticfile.org/plupload/2.1.9/moxie.js"></script>
    <script type="text/javascript" src="https://cdn.staticfile.org/plupload/2.1.9/plupload.dev.js"></script>
    <script type="text/javascript" src="https://cdn.staticfile.org/qiniu-js-sdk/1.0.14-beta/qiniu.min.js"></script>
</head>
<body>
<div class="main-box">
    <div class="header-top">
        <h1>民族工艺品展示平台</h1>
        <c:if test="${sessionScope.user == null}">
            <div class="btn-group">
                <div class="header-btn"><a href="${basePath}/user/login">登录</a></div>
                <div class="header-btn"><a href="${basePath}/user/register">注册</a></div>
            </div>
        </c:if>
        <c:if test="${sessionScope.user != null}">
            <div class="btn-group">
                <div class="header-btn"><a href="${basePath}/user/logout">登出</a></div>
                <div class="header-btn"><a href="${basePath}/user/update">${sessionScope.user.username}</a></div>
            </div>
        </c:if>
    </div>
    <div class="header">
        <ul class="header-nav fl">
            <li class="fl"><a href="${basePath}">首页</a></li>
            <li class="fl"><a href="${basePath}/goods/store/1">工艺店铺</a></li>
            <li class="fl"><a href="${basePath}/teach/1">教程分享</a></li>
            <li class="fl"><a href="${basePath}/own">个人中心</a></li>
            <li class="fl"><a href="${basePath}/us">联系我们</a></li>
            <li class="clear"></li>
        </ul>

        <form action="${basePath}/goods/1" class="nav-form">
            <input class="nav-input" type="text" name="province" value="${param.province}" placeholder="省份">
            <input class="nav-input" type="text" name="nation" value="${param.nation}" placeholder="民族">
            <input class="nav-input" type="text" name="name" value="${param.name}" placeholder="名称">
            <input class="nav-submit" type="submit" value="搜索">
        </form>

    </div>




